package com.tonysong.oa.yeboa12.controller;

import com.tonysong.oa.yeboa12.config.util.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(value = "测试控制器")
public class HelloController {

    @GetMapping("/hello")
    @ApiOperation(value = "测试",notes = "测试get请求")
    public R<String> hello(){
        return new R(200,true,"执行成功","Hello");
    }
}
